home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970626-19970929 / 000353_news@newsmaster….columbia.edu _Mon Sep 15 22:24:47 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA29208
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 15 Sep 1997 22:24:45 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id WAA27574
  7.     for kermit.misc@watsun; Mon, 15 Sep 1997 22:24:45 -0400 (EDT)
  8. Path: news.columbia.edu!panix!howland.erols.net!ix.netcom.com!not-for-mail
  9. From: jeffml@CHECK-SIG-FOR-ADDRESS.com (Jeff Lightfoot)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: read line?
  12. Date: 16 Sep 1997 02:10:14 GMT
  13. Organization: Sure
  14. Lines: 27
  15. Message-ID: <5vkpq6$rt2@sjx-ixn11.ix.netcom.com>
  16. References: <5vgnsl$qi@sjx-ixn11.ix.netcom.com> <5vjkc7$7de$1@apakabar.cc.columbia.edu>
  17. NNTP-Posting-Host: client23.netcom.com
  18. X-NETCOM-Date: Mon Sep 15  7:10:14 PM PDT 1997
  19. NNTP-Posting-User: jeffml
  20. X-Newsreader: trn 4.0-test58 (13 May 97)
  21. Xref: news.columbia.edu comp.protocols.kermit.misc:7676
  22.  
  23.  
  24. According to Frank da Cruz <fdc@watsun.cc.columbia.edu>:
  25. >In article <5vgnsl$qi@sjx-ixn11.ix.netcom.com>,
  26. >Jeff Lightfoot <jeffml@CHECK-SIG-FOR-ADDRESS.com> wrote:
  27. >: 
  28. >: Ok, this has to be simple but...
  29. >: 
  30. >: At the K95 prompt I can open a file, read a line, echo that line, read
  31. >: another ... everything works as expected.
  32. >: 
  33. >: But if I read a line, use while success { echo \m(line), read \m(line) }
  34. >: I get the first line repeated for each of the lines in the file.
  35. >: 
  36. >: This is supposed to work, but for the life of me, it won't happen.
  37. >: 
  38. >Syntax problem.  \m(xxx) is used to retrieve the value of xxx, and so is
  39. >not used in READ, DEFINE, ASSIGN, etc:
  40.  
  41. Ahhh.  Chapter 18, pg. 409 in Using C-Kermit 2nd Edition, gives the example
  42. I used.
  43.  
  44. This brings up a point.  Should my K-95 have come with an addendum that
  45. shows mistakes in the print version?  I searched on the Web site, in my K-95
  46. directory, and I couldn't find any corrections.  Where is the best place to
  47. get these?
  48. -- 
  49. jeffml @                                         Jeff Lightfoot
  50. pobox.com                              http://www.thefoots.com/